import { Empty } from 'antd';
import { ReactNode } from 'react';

export function CoursewaresListEmpty({ empty, children }: { empty?: boolean; children: ReactNode }) {
  return <>{empty ? <Empty image={Empty.PRESENTED_IMAGE_DEFAULT}></Empty> : children}</>;
}
